import React from 'react'
// ===================================================================== private template
const Menu = window.$Lazy.load(()=>import('#frame/menu'))
// ===================================================================== 目录
let data = [
	{ title: '首页', path:'/workbench/index', 	component:'workbench/index' },
	{ title: '消息', path:'/workbench/info', 	component:'workbench/info', 
		child:[
			{ title: '消息详情', 	path: 'detail', component:'workbench/info/detail' },
		]
	},
	{ title: '待办项目', path:'/workbench/todo', 	component:'workbench/todo',
		child: [
			{ title: '处理待办', path: 'detail', component: 'workbench/todo/detail' }
		]
	},
	{ title: '待办分组', path:'/workbench/todo-sort', 	component:'workbench/todo-sort',},
	{ title: '设置', path:'/workbench/set', 	component:'workbench/set' },
	{ title: '打印机管理', path:'/workbench/printer', component:'workbench/printer' },
	{ title: '导出模板设置', path:'/workbench/export-template-set', component:'workbench/export-template-set' },
	{ title: '绑定视图', path:'/workbench/bind-view', component:'workbench/bind-view' },
	{ title: '文档管理', path:'/workbench/document-manage', component:'workbench/document-manage' },
]
// ===================================================================== component
const Index = () => <Menu data={data} />

export default Index